package ysq.xyg.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 */
@Data
@Table(name = "web_detail")
public class WebDetail implements Serializable {

    @Id
    private String id;

    @Column(name = "product_id")
    private String productId;
    /**
     * 状态：1、未支付，2、已支付
     */
    private String type;
    private String phone;
    @Column(name = "link_user")
    private String linkUser;
    @Column(name = "link_date")
    private Date linkDate;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;

    @Transient
    private String linkDateStr;
    @Transient
    private String productName;
}